﻿using Com.PhilChuang.Utils;

namespace Com.PhilChuang.Pmvp.Model.Services.Impl
{
	public class LaunchLinkService : ILaunchLinkService
	{
		public void Dispose ()
		{
			// does nothing
		}

		public void LaunchLink (string link)
		{
			link.ThrowIfNullOrEmpty ("link");

			new Microsoft.Phone.Tasks.WebBrowserTask () { URL = link }.Show ();
		}
	}
}
